<template>
  <div>
    <pulldown header="管控情况">
      <div slot="content">
        <controlService></controlService>
      </div>
    </pulldown>
    <pulldown header="结案信息">
      <div slot="content">
        <div>
          <div>
            <span style="margin-left:100px">结案类型：</span>
            <span style="margin-left:30px">{{ result.caseType ? result.caseType:'null' }}</span>
          </div>
          <div>
            <span style="margin-left:100px">证明材料：</span>
            <a :href="result.prove ? result.prove:'javascript;'">社区戒毒社区康复人员期满鉴定书</a>
          </div>
          <div>
            <span style="margin-left:58px">社工总结及反思：</span>
            <span style="margin-left:30px">{{ result.reflect ? result.reflect:'null' }}</span>
          </div>
        </div>
      </div>
    </pulldown>
  </div>
</template>

<script>
import pulldown from '../../modules/pulldown'
import controlService from './controlService'
import {indivCaseClosureInfo} from "@api/sjsk/archives";
export default {
  name: "caseConclusionEvaluation",
  components:{controlService,pulldown},
  data(){
    return {
      result: {},
    }
  },
  methods:{
    refreshTable(){
      console.log('结案评估')
      this.refreshTable1()
    },
    refreshTable1(){
      let queryObj = {
        personId: "3",
        sources: "1"
      }
      // console.log('结案评估')
      indivCaseClosureInfo(queryObj).then(ser => {
        if(ser.success){
          console.log(ser)
          this.result = ser.result
        }
      }).catch(err => {})
    }
  }

}
</script>

<style scoped>
/**
结案评估
 */
</style>